package com.ddz.interfaces;

import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;

import android.content.SharedPreferences;

public interface IFileIO {
	
	// Read in a file from the file path/name
	// Be sure to include the external storage path
	public InputStream readFile(String fileName) throws IOException;

	// Write out a file to the specified file path/name
	// Be sure to include external storage path
    public OutputStream writeFile(String fileName) throws IOException;
    
    // Retrieve and hold the contents of the preferences file 'name',
    // returning a SharedPreferences through which you can retrieve and modify its values.
    public SharedPreferences getSharedPref();
}
